package day05_AnonymousInnerClassAndLambda;

public class InnerClass {
    public static void main(String[] args) {
        Outer.Inner oi = new Outer().new Inner();
        System.out.println(oi.num);
        oi.show();
    }
}

class Outer {

    private int a = 20;

    class Inner {
        int num = 10;

        public void show() {
            System.out.println("Inner Show()");
            System.out.println(a);
        }
    }
}